#include <stdbool.h>
#include <string.h>
#include "utils.h"


bool booleanFromStr(char* value){
    return strcmp(value,"true")==0 ? true : false;
}
void kill(char *message){
    if(message){
        printf("ERROR %s",message);
    }
    getchar();
    exit(0);
}
int intFromString(char* value){
    int ret;
    sscanf(value,"%d", &ret);

    return ret;
}
